package 设计模式.创建型模式.建造者模式;

/**
 * @author MT
 * @date 2019-11-13 17:36
 */
public abstract class Builder {
    protected Product product = new Product();

    public abstract void buildPartA();

    public abstract void buildPartB();

    public abstract void buildPartC();

    //返回产品对象
    public Product getResult() {
        return product;
    }

}
